#!/usr/bin/env bash


java -jar -Xms1000m -Xmx4000m \
  -XX:+HeapDumpOnOutOfMemoryError \
  -XX:HeapDumpPath=/tmp/heapdump.hprof \
   -XX:+PrintGCTimeStamps \
   -XX:+PrintGCDetails \
   -Xloggc:/tmp/debug-demo.log \
    debug-demo-0.0.1-SNAPSHOT.jar
